package com.zy.dp.prototype.example2;

public class Client
{

	public static void main(String[] args)
	{

		OrderApi oa1 = new PersonalOrder();

		oa1.setOrderProductNum(100);
		System.out.println(oa1.getOrderProductNum());

		OrderApi oa2 = (OrderApi) oa1.cloneOrder();
		oa2.setOrderProductNum(80);
		System.out.println(oa2.getOrderProductNum());
		System.out.println(oa1.getOrderProductNum());

	}

}
